package com.cjr.ddp.util;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;
import java.util.Map;

/**
 * @author cjr
 * @date Created in 2020-03-05 21:03
 * @description 返回给前端数据工具类
 * @modified By
 */
@Getter
@Setter
@ToString
public class ReturnMsg {
    // 是否成功
    private Boolean success;
    //提示信息
    private String msg;
    // 总数量
    private long totalSize;
    // 当前页
    private long page;
    private Object object;
    private List<?> list;
    // 令牌
    private String token;
    // 编码
    private String code;
    private String content;
    private Map<String, Object> map;

}

